package com.bsc.rtc.lib.libraries.ZxingDemo;

import android.graphics.Bitmap;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;

import com.bsc.rtc.lib.libraries.R;

public class ZxingDemoActivity extends AppCompatActivity {
    ImageView imageView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_zxing_demo);
        imageView=findViewById(R.id.imageView);
        Bitmap bitmap=QRCodeUtil.createQRCodeBitmap("https://www.jianshu.com/p/b275e818de6a",480,480);
        imageView.setImageBitmap(bitmap);
    }
}
